package cn.t222.ch04.mapper;

import cn.t222.ch04.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {
    List<Book> getAll();
    int add(Book book);
}
